Platform Explorer / Nuxeo Platform 2023.19

Operation Blob.ConcatenatePDFs (Concatenate PDFs)

Description

Given a File document holding a pdf on the file:content property and 2 pdfs on the files:files property, the following operation will provide a pdf that is the result of the merge of all the pdfs, with the content of the one in file:content property first.
Operation id Blob.ConcatenatePDFs
Category Conversion
Label Concatenate PDFs
Requires
Since

Parameters

Name Description Type Required Default value
filename The merge pdf result filename. string yes  
blob_to_append Optional blob reference in context to append in first place. string no  

Signature

Inputs bloblist, blob
Outputs blob, blob

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.blob.ConcatenatePDFs
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Blob.ConcatenatePDFs",
  "label" : "Concatenate PDFs",
  "category" : "Conversion",
  "requires" : null,
  "description" : "Given a File document holding a pdf on the file:content property and 2 pdfs on the files:files property, the following operation will provide a pdf that is the result of the merge of all the pdfs, with the content of the one in file:content property first.",
  "url" : "Blob.ConcatenatePDFs",
  "signature" : [ "bloblist", "blob", "blob", "blob" ],
  "params" : [ {
    "name" : "filename",
    "description" : "The merge pdf result filename.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "blob_to_append",
    "description" : "Optional blob reference in context to append in first place.",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}